package com.dwj.auto.comment.service.impl;

import com.dwj.auto.comment.common.response.PageResponse;
import com.dwj.auto.comment.config.mybatis.plus.CommonServiceImpl;
import com.dwj.auto.comment.dao.entity.Role;
import com.dwj.auto.comment.dao.mapper.RoleMapper;
import com.dwj.auto.comment.model.req.RoleSearchCriteria;
import com.dwj.auto.comment.model.vo.RoleSearchVo;
import com.dwj.auto.comment.service.IRoleService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author dwjian
 * @since 2020-01-27
 */
@Service
public class RoleServiceImpl extends CommonServiceImpl<RoleMapper, Role> implements IRoleService {

    @Override
    public PageResponse<RoleSearchVo> searchList(RoleSearchCriteria criteria) {
        return PageResponse.success(this.voPage(criteria));
    }
}
